#
# TODO: enter JYTHON code and save
#
import admin.jvm.customsproperties.AdminJVM as adminJVM

print ">>>>> Iniciando script para crear property en JVM"

propertyName = 'com.ibm.websphere.ejbcontainer.rmicCompatible'
propertyValue = 'values'
propertyDescription = 'Mantiene la compatibilidad RMI entre EJB 2.0 y EJB 3.0'
regEx = "SEC3S.|SECM.|BECV.|Kioskos.|MAD.|RedFinanciera."
#regEx = "server1"

adminJVM.createPropertyInJVM(regEx, propertyName, propertyValue, propertyDescription)

######### Saving configuration ############
print "Salvando Configuracion."
AdminConfig.save()
print "Listo."

print "\n<<<<< Finalizando script para crear property en JVM"